/**
 * Created by Administrator on 2017/1/19.
 */
function hightlightRows() {
    var support = document.getElementsByTagName;
    if (!support) {
        return false;
    }

    var rows = document.getElementsByTagName('tr');
    for (var i = 0; i < rows.length; i++) {
        rows[i].onmouseover = function () {
            this.style.fontWeight = 'bold';
        };
        rows[i].onmouseout = function () {
            this.style.fontWeight = 'normal';
        };
    }
}

addLoadEvent(hightlightRows);